package com.cqjtu.tto.service;


import com.cqjtu.tto.dao.pojo.Task;
import com.cqjtu.tto.vo.Results;
import com.cqjtu.tto.vo.params.TaskVo;
import org.apache.tomcat.jni.User;

import java.time.LocalDateTime;
import java.util.List;

public interface TaskService {

    public Results addTask(List<TaskVo> taskVos) throws InterruptedException;

    public Results updateTask(Task task);

    public Results selectone();

    public Results Endtask(Long user_id,Long task_id);

    public Results TaskScore(Long user_id, Long task_id,Integer task_score,String task_evaluation);

    public Results selectAll(Integer project_stage_id);

    // 获取某个员工在某个时间段内完成的任务数量
    Integer getEmployeeCompleteTaskCount(LocalDateTime pDateTime, LocalDateTime cDateTime, Long sysUserId);
}
